﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000493 RID: 1171
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterTrialActivityStageCsReq : IMessage<EnterTrialActivityStageCsReq>, IMessage, IEquatable<EnterTrialActivityStageCsReq>, IDeepCloneable<EnterTrialActivityStageCsReq>, IBufferMessage
	{
		// Token: 0x17000F14 RID: 3860
		// (get) Token: 0x060034BE RID: 13502 RVA: 0x00090FC0 File Offset: 0x0008F1C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterTrialActivityStageCsReq> Parser
		{
			get
			{
				return EnterTrialActivityStageCsReq._parser;
			}
		}

		// Token: 0x17000F15 RID: 3861
		// (get) Token: 0x060034BF RID: 13503 RVA: 0x00090FC7 File Offset: 0x0008F1C7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterTrialActivityStageCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000F16 RID: 3862
		// (get) Token: 0x060034C0 RID: 13504 RVA: 0x00090FD9 File Offset: 0x0008F1D9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterTrialActivityStageCsReq.Descriptor;
			}
		}

		// Token: 0x060034C1 RID: 13505 RVA: 0x00090FE0 File Offset: 0x0008F1E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTrialActivityStageCsReq()
		{
		}

		// Token: 0x060034C2 RID: 13506 RVA: 0x00090FE8 File Offset: 0x0008F1E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTrialActivityStageCsReq(EnterTrialActivityStageCsReq other) : this()
		{
			this.stageId_ = other.stageId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060034C3 RID: 13507 RVA: 0x0009100D File Offset: 0x0008F20D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterTrialActivityStageCsReq Clone()
		{
			return new EnterTrialActivityStageCsReq(this);
		}

		// Token: 0x17000F17 RID: 3863
		// (get) Token: 0x060034C4 RID: 13508 RVA: 0x00091015 File Offset: 0x0008F215
		// (set) Token: 0x060034C5 RID: 13509 RVA: 0x0009101D File Offset: 0x0008F21D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x060034C6 RID: 13510 RVA: 0x00091026 File Offset: 0x0008F226
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterTrialActivityStageCsReq);
		}

		// Token: 0x060034C7 RID: 13511 RVA: 0x00091034 File Offset: 0x0008F234
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterTrialActivityStageCsReq other)
		{
			return other != null && (other == this || (this.StageId == other.StageId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060034C8 RID: 13512 RVA: 0x00091064 File Offset: 0x0008F264
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060034C9 RID: 13513 RVA: 0x000910A3 File Offset: 0x0008F2A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060034CA RID: 13514 RVA: 0x000910AB File Offset: 0x0008F2AB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060034CB RID: 13515 RVA: 0x000910B4 File Offset: 0x0008F2B4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.StageId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060034CC RID: 13516 RVA: 0x000910E8 File Offset: 0x0008F2E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060034CD RID: 13517 RVA: 0x00091126 File Offset: 0x0008F326
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterTrialActivityStageCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060034CE RID: 13518 RVA: 0x00091157 File Offset: 0x0008F357
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060034CF RID: 13519 RVA: 0x00091160 File Offset: 0x0008F360
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.StageId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040014B1 RID: 5297
		private static readonly MessageParser<EnterTrialActivityStageCsReq> _parser = new MessageParser<EnterTrialActivityStageCsReq>(() => new EnterTrialActivityStageCsReq());

		// Token: 0x040014B2 RID: 5298
		private UnknownFieldSet _unknownFields;

		// Token: 0x040014B3 RID: 5299
		public const int StageIdFieldNumber = 9;

		// Token: 0x040014B4 RID: 5300
		private uint stageId_;
	}
}
